package cn.backpackerxl.entity;

import cn.backpackerxl.easyJDBC.annotation.*;
import cn.backpackerxl.easyJDBC.annotation.Character;
import cn.backpackerxl.easyJDBC.util.Encode;
import cn.backpackerxl.easyJDBC.util.IdType;
import lombok.Data;

import java.util.Date;

/**
 * @Author: backpackerxl
 * CreateTime: 2022/5/13
 * FileName: User
 **/
@Table(
        value = "t_name",
        show = true,
        dev = true
)
@Data
public class User {
    @Id(strategy = IdType.SNOWFLAKE)
    private Long id;
    @Len("20")
    private String user;
    private String passwd;
    private Date createTime;
    private Short eyes;
    private char lies;
    private Boolean depart;
    @Len("200")
    @Character(encode = Encode.UTF8MB4)
    private String information;
//    private Short hies;
//    private Integer dks;
//    private Double price;
//    private Double pvs;
}
